home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat4
/
updaters.z
/
updaters
Wrap
Text File
|
1998-10-20
|
3KB
|
67 lines
UUUUPPPPDDDDAAAATTTTEEEERRRRSSSS((((4444)))) UUUUPPPPDDDDAAAATTTTEEEERRRRSSSS((((4444))))
NNNNAAAAMMMMEEEE
updaters - configuration file for NIS updating
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
////vvvvaaaarrrr////yyyypppp////uuuuppppddddaaaatttteeeerrrrssss
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
The file /_v_a_r/_y_p/_u_p_d_a_t_e_r_s is a makefile (see _m_a_k_e(1)) which is used for
updating NIS databases. Each entry in the file is a make target for a
particular NIS database. For example, if there is a NIS database named
ppppaaaasssssssswwwwdddd....bbbbyyyynnnnaaaammmmeeee that can be updated, there should be a _m_a_k_e target named
ppppaaaasssssssswwwwdddd....bbbbyyyynnnnaaaammmmeeee in the _u_p_d_a_t_e_r_s file with the command to update the file.
The information necessary to make the update is passed to the update
command through standard input. The information passed is described below
(all items are followed by a NEWLINE, except for 4 and 6)
+o Network name of client wishing to make the update (a string)
+o Kind of update (an integer)
+o Number of bytes in key (an integer)
+o Actual bytes of key
+o Number of bytes in data (an integer)
+o Actual bytes of data
After getting this information through standard input, the command to
update the particular database should decide whether the user is allowed
to make the change. If not, it should exit with the status YPERR_ACCESS.
If the user is allowed to make the change, the command should make the
change and exit with a status of zero. If there are any errors that may
prevent the updater from making the change, it should exit with the
status that matches a valid NIS error code described in
<_r_p_c_s_v_c/_y_p_c_l_n_t._h>.
FFFFIIIILLLLEEEESSSS
/var/yp/updaters
SSSSEEEEEEEE AAAALLLLSSSSOOOO
_m_a_k_e(1), _y_p_u_p_d_a_t_e_d(1M)
BBBBUUUUGGGGSSSS
Access control is insecure. Use only on a trusted network.
PPPPaaaaggggeeee 1111